package com.blb.service.impl;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.blb.dao.BaseDao;
import com.blb.dao.impl.BaseDaoImpl;
import com.blb.service.BaseService;

public class BaseServiceImpl implements BaseService {

	private BaseDao dao = new BaseDaoImpl();
	
	@Override
	public void execute(String sql, Object... params) throws SQLException {
		dao.execute(sql, params);
	}

	@Override
	public List<Map<String, Object>> get(String sql, Object... params) throws SQLException {
		return dao.get(sql, params);
	}

}
